#ifndef __APP_MAIN_H_
#define __APP_MAIN_H_

#include "app_main.h"


#ifdef __cplusplus
extern "C" {
#endif

#define CITASK_PRIORITY	80
int ci_init();
void SM_TaskInfo(void);

#define CI_DEBUG_LEVEL_COMMON	0
#define CI_DEBUG_LEVEL_ERROR	1

typedef void (*pfCiDebug)(unsigned int u32Level, const char*);
extern void CI_RegistorDebugFun(pfCiDebug);

typedef enum
{
	CI_CALLBACK_CONNECTION_SUCCESSFUL,
	CI_CALLBACK_CONNECTION_FAILED,
}CI_CALLBACK_TYPE_T;

typedef void (*pfCiCallback)(CI_CALLBACK_TYPE_T);
extern void CI_RegistorCiCallback(pfCiCallback);


#ifdef __cplusplus
}
#endif

#endif //__APP_MAIN_H_
